var conf = require('../../config/conf');

// 登录注册模块
const Login = () => import('@/components/login')
const Sign = () => import('@/components/sign/sign')
// 抽奖模块
const integralDraw = () => import('@/components/integralDraw/integralDraw')
// 社区规则模块
const communityRule = () => import('@/components/communityRule/communityRule')
// 商品详情
const goodsDetail = () => import('@/components/goodsDetail/goodsDetail')
export default {
  linkActiveClass: 'active',
  linkExactActiveClass: 'current',
  mode: 'history',
  base: conf.projectName,
  routes: [
    {
      path: '/Login',
      name: 'Login',
      component: Login
    }, {
      path: '/Sign',
      name: 'Sign',
      component: Sign
    },
    {
      path: '/integralDraw',
      name: 'integralDraw',
      component: integralDraw
    },
    {
      path: '/communityRule',
      name: 'communityRule',
      component: communityRule
    },
    {
      path: '/goodsDetail',
      name: 'goodsDetail',
      component: goodsDetail
    }
  ]
}
